<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl-BE" lang="nl-BE">
<head profile="http://www.w3.org/2000/08/w3c-synd/#">

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<base href="<?php echo BASE; ?>" />
	
	<title>Swoep - <?php echo $pageTitle; ?></title>

	<link rel="stylesheet" type="text/css" href="<?php echo RELPATH; ?>template/1/css/style.css" />
<?php
if ( isset ( $css ) && is_array( $css ) && !empty ( $css ) ) {
	foreach ( $css as $file ) {
		echo "\t" . '<link rel="stylesheet" type="text/css" href="' . CSSPATH . $file . '" />' . "\n";
	}
}
?>
	<script type="text/javascript" src="<?php echo JSPATH; ?>prototype.js"></script>
	<script type="text/javascript" src="<?php echo JSPATH; ?>scriptaculous.js"></script>
	<script type="text/javascript" src="<?php echo JSPATH; ?>main.js"></script>

<?php
if ( isset ( $javascript ) && is_array( $javascript ) && !empty ( $javascript ) ) {
	foreach ( $javascript as $file ) {
		echo "\t" . '<script type="text/javascript" src="' . JSPATH . $file . '"></script>' . "\n";
	}
}
?>


</head>

<body>

	<div class="iecenter">
	<div id="wrapper">
	
		<div id="header">
		
			<a href="<?php echo RELPATH; ?>" id="home_link"></a>
		
			<div id="hello"><?php echo $loginbox; ?></div>
			<div id="cart_amount">(<span id="header_cart_items"><?php echo $winkelwagentje->getAmount() ?></span>)</div>
			<?php if ( $winkelwagentje->getAmount() > 0 ) { ?>
			<a href="cart" id="cart_link"></a>
			<?php } ?>
			<div id="current_lang"><?php echo strtoupper( $locale->getCurrentTaal( ) ); ?></div>
			<div id="lang_button"></div>
			<div id="lang_menu">
				<?php
				foreach ( array_unique ( $locale->getTalen( ) ) as $taal ) {
					if ( $taal != $locale->getCurrentTaal( ) ) {
						echo '<div class="lang"><a href="language/' . $taal . '/">' . strtoupper( $taal ) .'</a></div>';
					}
				}
				?>
			</div>
		
		</div>
		
		<ul id="navigation">
			<li><a href="templates" class="readymade">Ready made</a></li>
			<li><a href="design" class="design">Design</a></li>
			<li><a href="pictures" class="inactie">In actie</a></li>
		</ul>
		
		<div id="navigation_filler"></div>